package lab02.Test14;

/**
 * Created by lenovo on 2017/10/21.
 */
public class Circle extends Shape {

    double radius;
    public Circle(double r){
        radius=r;
    }

    @Override
    double getArea() {
        double area;
        area=Math.PI*radius*radius;
        return area;
    }
}
